﻿$(function(){	
    $('.Rotator ul li').hide();
    $('.Rotator ul li:first').show();    
    Rotate();
});

function Rotate(){
    var current = $('.Rotator ul li:visible');
    var next = current.next().length ? current.next() : current.parent().children(':first');    
    current.hide();
    next.show();
    setTimeout(Rotate, 5000);
}